package com.cgw.dmplt.address.dao;

import java.util.List;
import com.cgw.dmplt.address.domain.City;

/**
 *
 */
public interface CityDao {
    /**
     * insert.
     * @param city city
     * @return id
     */
    String insertCity(City city) ;

    /**
     * delete.
     * @param city city
     */
    void deleteCity(City city) ;
    
    /**
     * update.
     * @param city city
     */
    void updateCity(City city) ;

    /**
     * find.
     * @param id id
     * @return city
     */
    City findCity(Integer id) ;
    
    /**
     * list.
     * @param city city
     * @return city list
     */
    List listCity(City city) ;
    
    /**
     * listCount.
     * @param city city
     * @return list count
     */
    Integer listCityCount(City city) ;
}
